import { constantRoutes } from '@/router/index'
const state = {
  menusList: [...constantRoutes]
}

const mutations = {
  getMenus(state, arr) {
    state.menusList = [...constantRoutes, ...arr]
  }
}

const actions = {
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
